After encrypted waveform selected, .wfm file will be read out from PC or instrument, then the waveform data will be processed with resampling, filtering before pure IQ envelope(amplitude)of waveform is calculated, if want to skip the sampling and filtering, just set Resampling Ratio to 1 and Filter State to Off in Waveform Model GUI.
The process of exporting power envelope is:
Calculate the power envelope of IQ waveform with formula “sqrt (I^2 + Q^2)” to get an array of power envelope with the floating-point format.
Scale array to make all values is not greater than 1.
Convert array from floating-point to fixed-point of 16 bit signed digits format by multiplying every value with 32767. And final exporting format in binary file is Big Endian 16 bits.
High byte |
Low byte |
High byte |
Low byte |
High byte |
Low byte |
... |
... |
Power envelope Value 1 |
Power envelope Value 2 |
Power envelope Value 3 |
... |
Return to the Tutorials menu.